#CXX = g++ -m64 -O3

CXX = g++ -g -DOMD_DEBUG
CXXFLAG= -lm -lexpat -lming -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0  -lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

RM = rm
MV = mv
OBJ=cfgreader.o xcfgreader.o presentation.o
SRC=main.cpp
EXE=xlider

all: $(OBJ)
	$(CXX) $(SRC) -o $(EXE) $(OBJ) $(CXXFLAG)

clean: 
	${RM} -f $(OBJ)

.c.o: 
	$(CXX) $(CXXFLAG) -c $*.cpp
